/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.bodylimit.dao;

import br.com.bodylimit.model.Funcionario;
import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;

/**
 *
 * @author Allan
 */
public interface FuncionarioDAO {

    public List<Funcionario> listarPorNome(String nome) throws SQLException;

    public Funcionario obter(int matricula) throws SQLException;

    public List<Funcionario> listar() throws SQLException;

    public void adcionar(Funcionario funcionario) throws SQLException;
    
    public boolean atualizar(Funcionario funcionario) throws SQLException;

    public void remover(int matricula) throws SQLException;    
}
